export const itemListenerMixin = {
    mounted () {
        let newRefresh = debounce(this.$refs.refresh, 100)
        this.itemListener = () => {
            newRefresh()
        }
        this.$bus.$on('itemImgLoad', this.itemImgListener) 
        console.log(111);
    }
}

import Backtop from "@/components/content/backtop/BackTop"


export const backTopMixin = {
    components: {
        Backtop
    },
    data () {
        return {
            isShowBackTop: true,
            
        }
    },
    methods: {
        backClick() {
            this.$refs.scroll.scrollTo(0, 0)
          },
    }
}